/*
 * @Author: szx
 * @Date: 2022-02-27 12:53:45
 * @LastEditTime: 2022-02-27 12:59:27
 * @Description:
 * @FilePath: \leetcode\1000-1099\1016\1016.js
 */
/**
 * @param {string} s
 * @param {number} n
 * @return {boolean}
 */
 var queryString = function (s, n) {
    for (let i = 1; i <= n; i++) {
        if (!s.includes(i.toString(2))) return false;
    }
    return true;
};
